#asearch_header{
  display: block;
  height: 75px;
  width: 100%;
}
.container-av{
  margin: 0 30px;
}
#asearch_results{
  min-height: 400px;
  margin: 0 auto 55px;
  float: left;
  width: 100%
}
#asearch_settings select option{
  color: #888;
  padding: 0 5px;
}

#asearch_settings{
  display: none;
  height: 395px;
  width: 87%;
  top: 125px;
  left: 6.5%;
  padding: 1%;
  overflow-y: auto;
  position: absolute;
  background-color: rgba(85, 85, 85, 0.97);
  color: #E0E0E0;
}

#asearch_header div.search {
  display: block;
  height: 80%;
  width: 80%;
  margin: 0% 10% 0% 10%;
  position: relative;
  top: 0%;
  overflow: hidden;
  min-height: 60px;
  text-align: center;
  z-index: 2;
}

#asearch_header input.search_input {
  width: 100%;
  background-color: #fff;
  border: 1px solid #5E5E5E;
  border-top: 1px solid #5E5E5E;
  height: 40px;
  padding-left: 10px;
  margin-top: 0px;
  border-radius: 5px;
}

#asearch_header .input-group-addon{
  background: rgba(0, 0, 0, 0);
  border: none;
  margin: 0;
  padding: 2px 0 12px 6px !important;
  vertical-align: top;
}




#asearch_results div.result{
  background: white;
  float: left;
  overflow: hidden;
  border: 1px solid #5E5E5E;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#asearch_results div.result:hover{
  -webkit-box-shadow: 0 2px 8px 0px rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 8px 0px rgba(0, 0, 0, 0.03);
  -webkit-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  transition: all 0.2s ease 0s;
  transform: scale(1.05);
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

#asearch_results div.result a{
  text-decoration: none;
}

#asearch_results div.noResults{
  padding: 50px 5px 50px 5px;
  font-family: Arial, sans-serif;
  font-size: 23px;
  line-height: 18px;
  font-weight: normal;
  word-wrap: break-word;
  text-align: center;
  margin-top: 50px;
}

#asearch_results div.resultImageWrapper{
  height: 159px;
  text-align: center;
  border-bottom: 1px solid #5E5E5E;
}

#asearch_results div.resultImageWrapper img{
  width: 90%;
  height: 90%;
  margin-top: 4%;
  margin-bottom: 4%;
}

#asearch_results h6.resultTitle{
  height: 37px;
  margin-bottom: 5px;
  padding: 0px 5px 0px 5px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  line-height: 18px;
  font-size: 15px;
  font-weight: normal;
  word-wrap: break-word;
  text-overflow: ellipsis;
  overflow: hidden;
}

#asearch_results h6.resultTitle a{
  color: #555 !important;
}

#asearch_results div.resultAuthor{
  width: 190px;
  height: 40px;
  font-size: 12px;
  padding: 0px 5px 0px 5px;
  overflow: hidden;
}

#asearch_results div.resultAuthor a{
  color: #008FD1 !important;
}

#asearch_results div.resultBottom{
  width: 100%;
  height: 20px;
  padding: 0px 5px 0px;
  display: inline-block;
  font-size: 12px;
  overflow: hidden;
  border-top: 1px solid #5E5E5E;
}


#asearch_results img.inlineIcon{
  height: 13px;
  position: relative;
  top: 3px;
  left: -1px;
  width: 13px;
}

#asearch_results div.likes{
  display: inline-block;
}

#asearch_results div.views{
  display: inline-block;
  float: right;
}
#asearch_results div.views img.inlineIcon{
  height: 13px;
  width: 16px;
}

/* Resutls in table */

#asearch_results table.asearch_results_table{
  margin: 10px 0px 20px 0px;
  padding:0px;
  width:100%;
  border:1px solid rgba(200, 200, 200, 0.4);
  border-radius: 0px;
  border-collapse: collapse;
  border-spacing: 0;
}

#asearch_results table td {
  vertical-align: middle;
  background-color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(200, 200, 200, 0.8);
  border-width: 0px 1px 1px 0px;
  text-align: left;
  padding: 8px;
  font-size: 14px;
  font-family: Arial;
  font-weight: normal;
  color: #000000;
}
#asearch_results table tr:hover td{
  background-color: rgba(255, 255, 255, 1);
}

#asearch_results table  tr:first-child td{
  background-color: #FFF;
  border-width: 0px 0px 1px 1px;
  font-size: 14px;
  font-family: Arial;
  font-weight: bold;
}

#asearch_results table tr:last-child td{
  border-width:0px 1px 0px 0px;
}

#asearch_results table tr td:last-child{
  border-width:0px 0px 1px 0px;
}

.asearch_waiting{
  cursor: wait !important;
}

#asearch_settings div.settingsColumn{
  text-align: center;
  height: 100%;
  width: 31%;
  display: inline-block;
  float: left;
  padding-left: 1%;
  padding-right: 1%;
  border-left: 1px solid #CCC;
}
#asearch_settings div.settingsColumn:first-child{
  margin-left: 0.5%;
  border-left: none;
}
#asearch_settings div.settingsColumn:last-child{
  margin-right: 0.5%;
}

#asearch_settings div.settingsColumn p.settingsTitle {
  margin-top: 0px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  color: $white;
  border-bottom: 1px solid #ccc;
}

#asearch_settings div.settingsColumn p.settingsTitleSec {
  margin-top: 15px;
  margin-bottom: 0px;
  color: #f1f1f1;
}

#asearch_settings div.settingsColumn p.settingsField {
  text-align: left;
  margin-bottom: 8px;
  margin-top: 15px;
}

#asearch_settings select {
  width: 100%;
  min-height: 32px;
}

#asearch_settings select[asparam="language"]{
  height: 33px;
}

#asearch_settings select.entity_types{
  height: 90%;
}

#asearch_settings .dateWrapper{
  display: inline-block;
}

#asearch_settings .dateWrapper div{
  width: 50%;
  float: left;
  display: block;
}

#asearch_settings .dateWrapper p{
  margin-top: 0px;
  margin-bottom: 5px;
  font-size: 14px;
}

#asearch_settings .dateWrapper input{
  max-width: 90%;
  margin-right: 5px;
}

#asearch_settings .ViSHinstances{
  overflow-y: auto;
}

#asearch_settings .ViSHinstances ul{
  list-style-type: none;
  text-align: left;
  height: auto;
  max-height: 90px;
}

#asearch_settings .ViSHinstances ul li{
  margin-top: 5px;
}

#asearch_settings .addInstanceButton{
  margin-left: 15px;
  font-size: 13px;
  cursor: pointer;    
}

#asearch_settings span.deleteEntity{
  margin-left: 20px;
  font-size: 13px;
  cursor: pointer;
}

#asearch_settings span.closeASearchSettings{
  float: right;
  cursor: pointer;
  font-size: 10px;
}


@media (max-width: 480px){
  .result{
    width: 100%;
    margin: 0 0 16px 0;
    height: auto !important;
    .resultImageWrapper{
      width: 40%;
      height: 120px !important;
      float: left;
      border-bottom: none !important;
      border-right: 1px solid #5E5E5E;
    }
    .resultTitle,
    .resultAuthor,
    .resultBottom{
      width: 60% !important;
      float: left;
    }
    .resultTitle{
      margin-bottom: 7px;
    }
    .resultBottom{
      margin-top: 6px;
    }
  }
  #asearch_settings div.settingsColumn{
    width: 100%;
    display: block;
    height: auto;
    border-left: 0px;
    margin-bottom: 10px;
  }
  #asearch_settings span.closeASearchSettings{
    position: absolute;
    right: 5px;
  }
  #asearch_settings select {
    min-height: 32px;
  } 
  #asearch_results table.asearch_results_table{
    width: 60%;
  }


  #asearch_results table td {
    padding: 2%;
  }
  #asearch_results table.asearch_results_table{
    margin-top: 0;
  }
}
@media (min-width: 481px) and (max-width: 767px){
  .result{
    width: 31%;
    margin: 0 1.16% 18px;
    height: 229px !important;
    .resultImageWrapper{
      height: 117px !important;
    }
  }
  #asearch_settings div.settingsColumn{
    width: 50%;
    display: block;
    border-left: 0;
  }
  #asearch_settings div.settingsColumn:first-child{
    width: 100%;
    display: block;
    height: auto;
    margin-bottom: 10px;
    margin-left: -5px;
  }
  #asearch_settings div.settingsColumn:last-child{
    border-left: 1px solid #ccc;
  }
  #asearch_settings span.closeASearchSettings{
    position: absolute;
    right: 5px;
  }
  #asearch_results table.asearch_results_table,
  #asearch_settings select.entity_types {
    height: 60%;
  }

}

@media (min-width: 768px) and (max-width: 991px){
  .result{
    width: 23%;
    margin: 0 1% 18px;
    height: 237px;
    .resultImageWrapper{
      height: 124px !important;
    }
  }
}
@media (min-width: 992px) and (max-width: 1199px){
  .result{
    width: 18.6%;
    margin: 0 0.7% 18px;
    height: 241px;
    .resultImageWrapper{
      height: 127px !important;
    }
  }
}
@media (min-width: 1200px) and (max-width: 1500px){
  .result{
    width: 18.80%;
    margin: 0 0.6% 18px;
    height: 274px;
    .resultImageWrapper{
      height: 161px !important;
    }
  }
}
@media (min-width: 1501px) and (max-width: 1750px){
  .result{
    width: 13.25%;
    margin: 0 0.5% 18px;
    height: 255px;
    .resultImageWrapper{
      height: 143px !important;
    }
  }
}
@media (min-width: 1751px){
  .result{
    width: 11.70%;
    margin: 0 0.4% 18px;
    height: 273px;
    .resultImageWrapper{
      height: 160px !important;
    }
  }
}